package com.cherish.pattern.factory.simplef;

import com.cherish.pattern.factory.model.Laptop;

/**
 * @Classname TestSimpleFactory
 * @Date 2019/4/7 11:11
 * @Author admin
 * @Description TODO
 */
public class TestSimpleFactory {

    public static void main(String[] args){
        SimpleLaptopFactory factory = new SimpleLaptopFactory();
        Laptop laptop = factory.getLaptop("MAC");
        laptop.getInfo();

    }

}
